import React from 'react'
import { Button, Space } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
function Index() {
    const nav=useNavigate()
  return (
    <div>
      首页

      <Button color='primary' fill='outline' onClick={()=>nav('/login')} >
            去登录
          </Button>
    </div>
  )
}

export default Index
